/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package bs.ventas.dao;

import bs.global.dao.BaseDAO;
import bs.global.modelo.ConceptoPK;
import bs.ventas.modelo.ConceptoVenta;
import javax.ejb.Stateless;

/**
 *
 * @author Claudio
 */
@Stateless
public class ConceptoDAO extends BaseDAO{

    public ConceptoVenta getConcepto(String tipo, String codigo){
        
        ConceptoPK idPK = new ConceptoPK("VT",tipo,codigo);
        
        return getObjeto(ConceptoVenta.class, idPK);
    }

// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
}
